Skip to content

Python#164

Open
rhubert wants to merge 10 commits intoBobBuildTool:masterfrom
rhubert:python
Open

Python#164
rhubert wants to merge 10 commits intoBobBuildTool:masterfrom
rhubert:python

Conversation

@rhubert
Copy link
Contributor

@rhubert rhubert commented Mar 6, 2026

packageScript: |
python3PackageTgt

provideDeps: ['python::*']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will also provide build dependencies of class python3::build. I'm afraid the dependencies must be named explicitly. Maybe use yaml references?

depends: &deps
    - python::wrapt

...
provideDeps: *deps

packageScript: |
python3PackageTgt

provideDeps: ['python::*']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, this provides more than just python::setuptools-scm.

packageScript: |
python3PackageTgt

provideDeps: ['python::*']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy'n'pase left over?

buildSetup: |
# provide openssl dir
export OPENSSL_DIR=${BOB_DEP_PATHS['libs::openssl-dev']}/usr/
export LD_LIBRARY_PATH=${BOB_DEP_PATHS['libs::libffi-tgt']}/usr/lib
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work when cross compiling to other architectures. Why is it needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants